<?php
/**
 * 
 */
namespace app\manage\controller\score;

use app\manage\controller\Base;

class Show extends Base
{

	public function index(){
		$params = $this->request->param();
        // 筛选参数
        $whereFields = ['page','start','end','mid'];
        // 参数数组
        $whereData = [];
        foreach($whereFields as $field):
            if(isset($params[$field]))
                $whereData[$field] = $params[$field];
        endforeach;

		$pageData = ['title'=>'系统新增业绩'];
		$this->assign('pageData',$pageData);
		$this->assign('whereData',$whereData);
		return view();
	}

	public function record(){
		$params = $this->request->param();
        // 筛选参数
        $whereFields = ['page','start','end','mid'];
        // 参数数组
        $whereData = [];
        foreach($whereFields as $field):
            if(isset($params[$field]))
                $whereData[$field] = $params[$field];
        endforeach;

		$pageData = ['title'=>'会员业绩明细'];
		$this->assign('pageData',$pageData);
		$this->assign('whereData',$whereData);
		return view();
	}

    public function daily(){
        $params = $this->request->param();
        // 筛选参数
        $whereFields = ['page','start','end','mid'];
        // 参数数组
        $whereData = [];
        foreach($whereFields as $field):
            if(isset($params[$field]))
                $whereData[$field] = $params[$field];
        endforeach;

        $pageData = ['title'=>'会员业绩汇总'];
        $this->assign('pageData',$pageData);
        $this->assign('whereData',$whereData);
        return view();
    }


}